﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityPet
{
    /// <summary>
    /// 上门护理
    /// </summary>
    public class Pet_DoorService
    {
        /// <summary>
        /// 唯一标识符
        /// </summary>
        [Required]
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid Id { get; set; }

        /// <summary>
        /// 护理套餐
        /// </summary>
        [Required]
        public  int Package { get; set; }
        /// <summary>
        /// 家庭住址
        /// </summary>
        [Required]
        [StringLength(50)]
        public string? Address { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        [Required]
        public  string? Phone { get; set; }

        /// <summary>
        /// 是否已结算
        /// </summary>
        [Required]
        public bool IsSettlement { get; set; }
    }
}
